package com.cody.dao;

import com.cody.entity.Sys;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Cody
 * @date 2021/4/6 - 20:28
 */
public interface AdminDao {

    Sys querySingleSys(@Param("sysName") String name, @Param("sysPassword") String password);

    List<Sys> queryAllSys();

    boolean delSysByAdminId(@Param("adminId") Integer adminId);
}
